package com.seguriapp.gwt.client.login;

import com.google.gwt.event.shared.GwtEvent;

public class UserLoggedOffEvent extends GwtEvent<UserLoggedOffEventHandler> {

  public static final Type<UserLoggedOffEventHandler> TYPE = new Type<UserLoggedOffEventHandler>();

  public UserLoggedOffEvent() {
  }

  @Override
  public GwtEvent.Type<UserLoggedOffEventHandler> getAssociatedType() {
    return TYPE;
  }

  @Override
  protected void dispatch(UserLoggedOffEventHandler handler) {
    handler.onUserLoggedOff(this);
  }

  public static Type<UserLoggedOffEventHandler> getType() {
    return TYPE;
  }

}
